Skip to content

Conversation

@josecelano
Copy link
Member

@josecelano josecelano commented Dec 26, 2023

It seems there is a bug but I cannot reproduce it. It should not reach the line that produces the error message:

Failed to parse torrent info from tracker response. Body: "torrent not known"

Added some tests and simplified code.

…_torrent_info

It seems there is a bug but I cannot reproduce it.
@josecelano josecelano linked an issue Dec 26, 2023 that may be closed by this pull request
@codecov-commenter
Copy link

codecov-commenter commented Dec 26, 2023

Codecov Report

Attention: 8 lines in your changes are missing coverage. Please review.

Comparison is base (471ec38) 42.24% compared to head (219dff0) 42.99%.

Files Patch % Lines
src/tracker/service.rs 87.50% 6 Missing ⚠️
src/models/torrent_file.rs 33.33% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #421      +/-   ##
===========================================
+ Coverage    42.24%   42.99%   +0.74%     
===========================================
  Files           80       80              
  Lines         4890     4922      +32     
===========================================
+ Hits          2066     2116      +50     
+ Misses        2824     2806      -18     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@josecelano
Copy link
Member Author

ACK 219dff0

@josecelano josecelano merged commit 373493f into torrust:develop Dec 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Patch for Tracker API response is not working

2 participants